package com.heaven.luxuriant.data;

import com.google.auto.value.AutoValue;

@AutoValue
public abstract class News {

    public static News create(Integer id, String title,  String time, String imageUrl, String brief) {
        return new AutoValue_News(id, title, time, imageUrl, brief);
    }

    public abstract Integer getId();

    public abstract String getTitle();

    public abstract String getTime();

    public abstract String getImageUrl();

    public abstract String getBrief();
}
